/**
 * 
 */
package com.yerba.ricecooker.quote;

/**
 * @author mxie
 * 
 */
public class Quote extends RawQuote
{
    public String getDate()
    {
        return super.getDate();
    }

    public void setDate(String date)
    {
        super.setDate(date);
    }

    public double getOpen()
    {
        return super.getOpen();
    }

    public void setOpen(double open)
    {
        super.setOpen(open);
    }

    public double getClose()
    {
        return super.getClose();
    }

    public void setClose(double close)
    {
        super.setClose(close);
    }

    public double getHigh()
    {
        return super.getHigh();
    }

    public void setHigh(double high)
    {
        super.setHigh(high);
    }

    public double getLow()
    {
        return super.getLow();
    }

    public void setLow(double low)
    {
        super.setLow(low);
    }

    public double getVolume()
    {
        return super.getVolume();
    }

    public void setVolume(double volume)
    {
        super.setVolume(volume);
    }

    public double getAdjclose()
    {
        return super.getAdjclose();
    }

    public void setAdjclose(double adjclose)
    {
        super.setAdjclose(adjclose);
    }

    // dividend weighed close price
    private double trueClose = 0;

    public double getTrueClose()
    {
        return trueClose;
    }

    public void setTrueClose(double trueClose)
    {
        this.trueClose = trueClose;
    }

    @Override
    public String toString()
    {
        return "Quote [date=" + getDate() + ", open=" + getOpen() + ", close=" + getClose() + ", high=" + getHigh() + ", low="
                + getLow() + ", volume=" + getVolume() + ", adjclose=" + getAdjclose() + ", trueclose=" + getTrueClose() + "]";
    }
}
